#ifndef ROAMAREA_H_
#define ROAMAREA_H_

#include "PolygonVolume.h"

class RoamArea
{
private:
	int _pauseTime;
	int _pauseVariance;
	Geometry::PolygonVolume* _polygon;
	bool _spawnRandom;
public:
	RoamArea( Geometry::PolygonVolume* area,int pause=0,int variance=0,bool spawnhere=true);
	~RoamArea();

	Geometry::vertex GetRandomPoint();

	bool IsRandomSpawnEnabled(){ return _spawnRandom; }
	bool IsValid();
	int GetPauseTime();
};

#endif